<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="format-detection" content="telephone=no" />
    <meta name="format-detection" content="email=no" />
    <title>我的</title>
    <link rel="stylesheet" href="../../css/api.css">
    <link rel="stylesheet" href="../../css/vant.css">
    <link rel="stylesheet" href="../../css/main.css">
    <style>
        .tag-main{
            margin-top: .85rem;
            padding: 0 .12rem;
            font-size: .16rem;
        }
        .tag-main img{
            max-width: 100%;
            height: 100%;
        }

        .empty-content{
            text-align: center;
            width: 100%;
            margin-top: 1rem;
            color: #666666;
        }
    </style>
</head>

<body>
    <div class="app header-style" v-cloak>
        <header style="padding-top: .45rem;">
            <div class="flex-x-sb">
                <span class="iconfont goback" @click="back">&#xe66f;</span>
                <div class="title">
                    {{tagDetail.name}}
                </div>
            </div>
        </header>
        <div class="tag-main">
            <div v-if="tagDetail.introduction" v-html="tagDetail.introduction">
        </div>

        <div class="empty-content" v-if="!tagDetail.introduction">暂无内容</div>


    </div>
    <script src="../../script/api.js "></script>
    <script src="../../script/flexible.js "></script>
    <script src="../../script/fastclick.js "></script>
    <script src="../../script/vue.min.js "></script>
    <script src="../../script/iconfont.js "></script>
    <script src="../../script/vant.min.js "></script>
    <script src="../../script/common.js "></script>
    <script src="../../script/restful.js "></script>
    <script src="../../script/businessCommon.js "></script>

    <script>
        apiready = function() {
            vm = new Vue({
                el: '.app',
                data: {
                  tagDetail: api.pageParam.item,
                },
                created() {
                    console.log('标签详情：',JSON.stringify(this.tagDetail));
                },
                mounted() {

                },
                methods: {
                    back() {
                        api.closeWin();
                    }
                },
            })
        }
    </script>
</body>

</html>